package com.cn.wanxi.model;

import java.util.ArrayList;
import java.util.List;

public class NewsModel {
    private String title;
    private String content;
    private String date;
    private String href;
    private String newsType;
    public List<NewsModel> list = new ArrayList<>();
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getNewsType() {
        return newsType;
    }

    public void setNewsType(String newsType) {
        this.newsType = newsType;
    }

    @Override
    public String toString() {
        return "NewsModel{" +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", date='" + date + '\'' +
                ", href='" + href + '\'' +
                ", newsType='" + newsType + '\'' +
                '}';
    }
}
